<template>
	<view :style="'height:'+statusBarHeight+'px;'" style="background-color: #f9f9f9;"></view>
</template>

<script>
	export default {
		name:"status-bar",
		data() {
			return {
				statusBarHeight:0
			};
		},
		created() {
			this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight
		}
	}
</script>

<style>

</style>